import request from '@/utils/request'

// 查询列表
export function warehousePlatform(query) {
    return request({
      url: '/fkmalls-datahub/warehousePlatform/list',
      method: 'POST',
      data: query
    })
  }
// 删除
export function getDeletel(id) {
  return request({
    url: '/fkmalls-datahub/warehousePlatform/delete/' + id,
    method: 'post'
  })
}

//添加
export function addWarehousePlatform(query) {
  return request({
    url: '/fkmalls-datahub/warehousePlatform/add',
    method: 'post',
    data: query
  })
}
// 编辑
export function updateWarehousePlatform(data) {
  return request({
    url: '/fkmalls-datahub/warehousePlatform/update',
    method: 'post',
    data: data
  })
}
